import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue';
import Fu_EchartsView from '../views/Fu_EchartsView.vue';
import Practice from '../views/Practice.vue';
import Echarts_LineView from '@/views/Echarts/Echarts_LineView.vue';
import Echarts_PieView from '@/views/Echarts/Echarts_PieView.vue';
import Echarts_BarView from '@/views/Echarts/Echarts_BarView.vue'
import Echarts_LiquidFillView from '@/views/Echarts/Echarts_LiquidFillView.vue';
import Echarts_practice from '../views/Echarts/Echarts_practice.vue';
import Echarts_Pie3DView from '../views/Echarts/Echarts_Pie3DView.vue';
import download from "@/views/FilesHandle/download.vue";
import download_2 from "@/views/FilesHandle/download_2.vue";
import upload from "@/views/FilesHandle/upload.vue";
import upload_2 from "@/views/FilesHandle/upload_2.vue";
import setInterval from '@/views/FilesHandle/setInterval.vue';
import QRcode from "@/views/FilesHandle/QRcode.vue";
import QRcode_2 from '@/views/FilesHandle/QRcode_2.vue';
import fu from '@/views/practicefuzi/fu.vue';
import zi from '@/views/practicefuzi/zi.vue';
import fu_1 from '@/views/practicefuzi/fu_1.vue';
import zi_1 from '@/views/practicefuzi/zi_1.vue';
import fu_2 from '@/views/practicefuzi/fu_2.vue';
import zi_2 from '@/views/practicefuzi/zi_2.vue';



const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/Fu_echarts',
      name: 'Fu_echarts',
      component: () => import('../views/Fu_EchartsView.vue'),
    },
    {
      path: '/Practice',
      name: 'Practice',
      component: () => import('../views/Practice.vue'),
    },
    {
      path: '/echarts_bar',
      name: 'echarts_bar',
      component: () => import('../views/Echarts/Echarts_BarView.vue'),
    },
    {
      path: '/echarts_line',
      name: 'echarts_line',
      component: () => import('../views/Echarts/Echarts_LineView.vue'),
    },
    {
      path: '/echarts_pie',
      name: 'echarts_pie',
      component: () => import('../views/Echarts/Echarts_PieView.vue'),
    },
    {
      path: '/echarts_3Dpie',
      name: 'echarts_3Dpie',
      component: () => import('../views/Echarts/Echarts_Pie3DView.vue'),
    },
    {
      path: '/echarts_liquidFill',
      name: 'echarts_liquidFill',
      component: () => import('../views/Echarts/Echarts_LiquidFillView.vue'),
    },
    {
      path: '/echarts_practice',
      name: 'echarts_practice',
      component: () => import('../views/Echarts/Echarts_practice.vue'),
    },
    {
      path: '/download',
      name: 'download',
      component: () => import('../views/FilesHandle/download.vue'),
    },   
    {
      path: '/download_2',
      name: 'download_2',
      component: () => import('../views/FilesHandle/download_2.vue'),
    },   
    {
      path: '/upload',
      name: 'upload',
      component: () => import('../views/FilesHandle/upload.vue'),
    },
    {
      path: '/upload_2',
      name: 'upload_2',
      component: () => import('../views/FilesHandle/upload_2.vue'),
    },
    {
      path: '/setInterval',
      name: 'setInterval',
      component: () => import('../views/FilesHandle/setInterval.vue'),
    },
    {
      path: '/QRcode',
      name: 'QRcode',
      component: () => import('../views/FilesHandle/QRcode.vue'),
    },
    {
      path: '/QRcode_2',
      name: 'QRcode_2',
      component: () => import('../views/FilesHandle/QRcode_2.vue'),
    },


    {
      path: '/fu',
      name: 'fu',
      component: () => import('../views/practicefuzi/fu.vue'),
    },
    {
      path: '/zi',
      name: 'zi',
      component: () => import('../views/practicefuzi/zi.vue'),
    },
    {
      path: '/fu_1',
      name: 'fu_1',
      component: () => import('../views/practicefuzi/fu_1.vue'),
    },
    {
      path: '/zi_1',
      name: 'zi_1',
      component: () => import('../views/practicefuzi/zi_1.vue'),
    },
    {
      path: '/fu_2',
      name: 'fu_2',
      component: () => import('../views/practicefuzi/fu_2.vue'),
    },
    {
      path: '/zi_2',
      name: 'zi_2',
      component: () => import('../views/practicefuzi/zi_2.vue'),
    },

    
  ],
})

export default router
